//
//  FontDefine.h
//  MasonryDemo
//
//  Created by 谢英泽 on 2016/11/10.
//  Copyright © 2016年 xieyingze. All rights reserved.
//
#import "UnitydDefine.h"
#import "DeviceDefine.h"

#ifndef FontDefine_h
#define FontDefine_h

#define kFONT_Nav_HTML5     kFONT_HEITI_SC(20)

//Heiti TC
#define kFONT_HEITI_TC(m)   [UIFont fontWithName:@"Heiti TC" size:m]

//Heiti SC
#define kFONT_HEITI_SC(m)   [UIFont fontWithName:@"Heiti SC" size:m]

//Lato-Regular
#define kFONT_Regular_SC(m)   [UIFont fontWithName:@"Lato-Regular" size:m]

//Lato-ThinItalic
#define kFONT_ThinItalic_SC(m)   [UIFont fontWithName:@"Lato-ThinItalic" size:m]

//******************************屏幕适配**********************************/

#define kUI_small                 12

#define kUI_normal                14

#define kUI_big                   16

#define kUI_biger                 18

#define kUI_superBig              24

/**
 默认字体
 */
#define kFONT_mainFont(m)           kFONT_HelLight(m)//kFONT_system(m)

#define kFONT_mainBoldFont(m)       kFONT_HelBold(m)

#define kFONT_mainNumFont(m)        kFONT_HelLight(m)

#define kFONT_mainNumBoldFont(m)    kFONT_HelBold(m)

#define kFONT_small                 kFONT_mainFont(12)

#define kFONT_normal                kFONT_mainFont(14)

#define kFONT_big                   kFONT_mainFont(16)

#define kFONT_biger                 kFONT_mainFont(18)

#define kFONT_superBig              kFONT_mainFont(24)

#pragma mark - ************************iPhone6p************************

#ifdef kUI_is_Iphone6p

/**
 系统默认字体
 */
#define kFONT_system(m)             [UIFont systemFontOfSize:m * 1.1f]
/**
 Bold字体
 */
#define kFONT_Bold(m)               [UIFont boldSystemFontOfSize:m * 1.1f]
/**
 Helve字体
 */
#define kFONT_HelThin(m)            [UIFont fontWithName:@"HelveticaNeue-Thin" size:m * 1.2f]
#define kFONT_HelLight(m)           [UIFont fontWithName:@"HelveticaNeue-Light" size:m * 1.2f]
#define kFONT_HelBold(m)            [UIFont fontWithName:@"HelveticaNeue-Bold" size:m * 1.2f]

#define kFONT_HelNeuThin(m)         [UIFont fontWithName:@"HelveticaNeue-ThinItalic" size:m * 1.2f]
#define kFONT_HelNeuLight(m)        [UIFont fontWithName:@"HelveticaNeue-LightItalic" size:m * 1.2f]
#define kFONT_HelNeuBold(m)         [UIFont fontWithName:@"HelveticaNeue-BoldItalic" size:m * 1.2f]

#define kFONT_SnellRoundhand(m)     [UIFont fontWithName:@"SnellRoundhand-Bold" size:m * 1.2f]

/**
 导航栏标题
 */
#define kFONT_navTitle      kFONT_mainFont(20)
/**
 普通字体
 */
#define kFONT_normalText    kFONT_mainFont(14)

#pragma mark - ************************iPhone6************************

#elif kUI_is_Iphone6
/**
 系统默认字体
 */
#define kFONT_system(m)             [UIFont systemFontOfSize:m]
/**
 Bold字体
 */
#define kFONT_Bold(m)                 [UIFont boldSystemFontOfSize:m * 1.f]
/**
 Helve字体
 */
#define kFONT_HelThin(m)        [UIFont fontWithName:@"HelveticaNeue-Thin" size:m * 1.f]
#define kFONT_HelLight(m)       [UIFont fontWithName:@"HelveticaNeue-Light" size:m * 1.f]
#define kFONT_HelBold(m)           [UIFont fontWithName:@"HelveticaNeue-Bold" size:m * 1.f]

#define kFONT_HelNeuThin(m)        [UIFont fontWithName:@"HelveticaNeue-ThinItalic" size:m * 1.f]
#define kFONT_HelNeuLight(m)       [UIFont fontWithName:@"HelveticaNeue-LightItalic" size:m * 1.f]
#define kFONT_HelNeuBold(m)           [UIFont fontWithName:@"HelveticaNeue-BoldItalic" size:m * 1.f]

#define kFONT_SnellRoundhand(m)     [UIFont fontWithName:@"SnellRoundhand-Bold" size:m * 1.f]

/**
 导航栏标题
 */
#define kFONT_navTitle      kFONT_HelveLight(20)
/**
 普通字体
 */
#define kFONT_normalText    kFONT_HelveLight(14)

#pragma mark - ************************iPhone5************************

#else
/**
 系统默认字体
 */
#define kFONT_system(m)             [UIFont systemFontOfSize:m * 0.8f]
/**
 Bold字体
 */
#define kFONT_Bold(m)                 [UIFont boldSystemFontOfSize:m * 0.8f]
/**
 Helve字体
 */
#define kFONT_HelveThin(m)        [UIFont fontWithName:@"HelveticaNeue-Thin" size:m * 0.8f]
#define kFONT_HelveLight(m)       [UIFont fontWithName:@"HelveticaNeue-Light" size:m * 0.8f]
#define kFONT_HelveBold(m)           [UIFont fontWithName:@"HelveticaNeue-Bold" size:m * 0.8f]

#define kFONT_HelNeuThin(m)        [UIFont fontWithName:@"HelveticaNeue-ThinItalic" size:m * 0.8f]
#define kFONT_HelNeuLight(m)       [UIFont fontWithName:@"HelveticaNeue-LightItalic" size:m * 0.8f]
#define kFONT_HelNeuBold(m)           [UIFont fontWithName:@"HelveticaNeue-BoldItalic" size:m * 0.8f]

#define kFONT_SnellRoundhand(m)     [UIFont fontWithName:@"SnellRoundhand-Bold" size:m * 0.8f]
/**
 导航栏标题
 */
#define kFONT_navTitle      kFONT_HelveLight(20)
/**
 普通字体
 */
#define kFONT_normalText    kFONT_HelveLight(14)

#endif

#endif /* FontDefine_h */
